package com.softer.wxzj.common.util;

import com.softer.wxzj.mapper.FlowTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 *    
 *  @ClassName:   
 *  @Description: 流程转换实体
 *  @Author:  zcz   
 *  @CreateDate: 2019-05-10     
 *  
 */
@Repository
public class FlowConversionUtil {
    @Autowired
    private FlowTypeMapper flowTypeMapper;

    /**
     * 查询审批业务名称根据流程类型
     * @param flowType
     * @return
     */
    public String getFlowName(String flowType){
        return flowTypeMapper.getFlowNameByFlowType(flowType);
    }
}
